/* 
 * File:   Texture.h
 * Author: gilvolpe
 *
 * Created on June 8, 2013, 9:52 AM
 */

#ifndef TEXTURE_H
#define	TEXTURE_H

#include "basicInformation.h"

class Texture {
public:
    GLint loadBitmap(char *filename);

private:    
    static GLint numTexture;

    unsigned int biSize; /* Size of info header */
    int biWidth; /* Width of image */
    int biHeight; /* Height of image */
    unsigned short biPlanes; /* Number of color planes */
    unsigned short biBitCount; /* Number of bits per pixel */
    unsigned int biCompression; /* Type of compression to use */
    unsigned int biSizeImage; /* Size of image data */
    int biXPelsPerMeter; /* X pixels per meter */
    int biYPelsPerMeter; /* Y pixels per meter */
    unsigned int biClrUsed; /* Number of colors used */
    unsigned int biClrImportant; /* Number of important colors */
    char *data;
};

#endif	/* TEXTURE_H */

